package com.xbongbong.admin.domain.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 公司积分实体
 *
 * @author 徐俊杰
 * @version v1.0
 * @date 2019/9/30 16:03
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class RaidersCorpScoreEntity {
    public RaidersCorpScoreEntity(){
        del = 0;
    }

    public RaidersCorpScoreEntity(String corpid, String creatorId, Integer totalScore, Integer surplusScore) {
        this.corpid = corpid;
        this.creatorId = creatorId;
        this.totalScore = totalScore;
        this.surplusScore = surplusScore;
        del = 0;
    }
    //========== properties ==========

    /**
     * 主键
     */
    private Long id;
    /**
     * 公司id
     */
    private String corpid;
    /**
     * 创建者id
     */
    private String creatorId;
    /**
     * 创建时间时间戳
     */
    private Long addTime;
    /**
     * 更新时间时间戳
     */
    private Long updateTime;
    /**
     * 删除标记
     */
    private Integer del;
    /**
     * 总分
     */
    private Integer totalScore;
    /**
     * 剩余分
     */
    private Integer surplusScore;
}
